﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SolrSearchConfiguration"
    targetNamespace="Sherwood.Content.SearchServices"
    elementFormDefault="qualified"
    xmlns="Sherwood.Content.SearchServices"
    xmlns:mstns="Sherwood.Content.SearchServices"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="solrSearchConfiguration" type="solrSearchConfiguration"/>
  <xs:complexType name="solrSearchConfiguration">
    <xs:sequence>
      <xs:element name="server" type="server" />
      <xs:element name="injection" type="injection" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="server">
    <xs:attribute name="url" type="xs:string" use="required"/>
  </xs:complexType>

  <xs:complexType name="injection">
    <xs:attribute name="recordBatchSize" type="xs:int" use="required"/>
  </xs:complexType>
</xs:schema>
